package com.keeping.aiimagery.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户
 * </p>
 *
 * @author keeping
 * @since 2023-04-05
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    public class User implements Serializable {

    private static final long serialVersionUID=1L;

      /**
     * 用户id
     */
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      /**
     * 用户账号
     */
      private String userAccount;

      /**
     * 用户密码
     */
      private String userPassword;

      /**
     * 用户昵称
     */
      private String userName;

      /**
     * 用户头像
     */
      private String userImage;

      /**
     * 邮箱
     */
      private String mail;

      /**
     * 电话号码
     */
      private String phone;

      /**
     * qq
     */
      private String qq;

      /**
     * 微信
     */
      private String weixin;

      /**
     * 积分
     */
      private Integer integral;

      /**
     * 状态
     */
      private Integer state;

      /**
     * 权限
     */
      private String roleId;

      /**
     * 创建时间
     */
      private LocalDateTime createTime;

      /**
     * 是否注销
     */
      private Integer isdelete;

      /**
     * 邀请码
     */
      private String invitationCode;

      /**
     * 邀请人数
     */
      private Integer invitationNumbers;


      private Integer remain;

      private Integer remaincount;

      private Integer remainstorage;

}
